﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.ComponentModel;

namespace MetadataBasedConfigArch.Web.Controls
{
    public class CTXFieldControl : System.Web.UI.Control, INamingContainer
    {
        #region Ctor

        public CTXFieldControl()
            : base()
        {
            
        }

        #endregion

        #region Properties

        public virtual object DataSource
        {
            get;
            set;
        }

        //[PersistenceMode(PersistenceMode.InnerProperty), Browsable(false), TemplateContainer(typeof(RepeaterItem)), DefaultValue((string)null)]
        public virtual ITemplate LableTemplate
        {
            get;
            set;
        }

        [DefaultValue((string)null), TemplateContainer(typeof(CTXFieldControl))]
        public virtual ITemplate InputTemplate
        {
            get;
            set;
        }

        #endregion

    }
     
}